package com.job.sun.HomeWork0722;

/**
 * @author 张春阳
 * @version 1.0
 * @since 2022-07-22 20:05:51
 */
public class AgeException extends Exception{
   private String str;

    public AgeException(String str) {
        this.str = str;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    @Override
    public String toString() {
        return "AgeException{" +
                "str='" + str + '\'' +
                '}';
    }
}